-text "This canvas widget shows a mock-up of a ruler. You can create tab stops by dragging them out of the well to the right of the ruler. You can also drag existing tab stops. If you drag a tab stop far enough up or down so that it turns dim, it will be deleted when you release the mouse button."
pack append $w.frame1 $w.frame1.m {frame center}
set v(grid) .25c
set v(left) [winfo fpixels $c 1c]
set v(right) [winfo fpixels $c 13c]
set v(top) [winfo fpixels $c 1c]
set v(bottom) [winfo fpixels $c 1.5c]
set v(size) [winfo fpixels $c .2c]
set v(normalStyle) "-fill black"
if {[winfo screendepth $c] > 4} {
set v(activeStyle) "-fill red -stipple {}"
set v(deleteStyle) "-stipple @$tk_library/demos/bitmaps/grey.25 \
-fill red"
} else {
set v(activeStyle) "-fill black -stipple {}"
set v(deleteStyle) "-stipple @$tk_library/demos/bitmaps/grey.25 \